package com.zhang.domain;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;

//@PropertySource("classpath:test.properties")
public class TestBean {

    public static final Logger logger = LoggerFactory.getLogger(TestBean.class);

//    @Value("${zz.name}")
//    private String name;
//    @Value("${zz.address}")
//    private String address;

    public TestBean() {
//        System.out.println("name:" + name);
//        System.out.println("address:" + address);
        logger.info("---------construct-----------");
    }
}
